package com.cnap.multiclouldmgmt.model.k8sMonitorModels;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
/**
 * 监控或者算法需要的数据
 * @author dyq
 */
@ApiModel(value = "com.cnap.multiclouldmgmt.model.k8sMonitorModels.DynamicExpansionSvcAlgModel",description = "动态扩缩容策略的参数")
public class DynamicExpansionSvcAlgModel extends K8sClusterAlgInfoModel {

    //svc的名称
    @ApiModelProperty(value = "svc的名称")
    private String svcName;

    //服务使用cpu核心数
    @ApiModelProperty(value = "服务使用的cpu核心数")
    private double svcCpuUse;


    //服务cpu总量
    @ApiModelProperty(value = "服务cpu总量")
    private double svcCpuLimit;

    //服务mem使用
    @ApiModelProperty(value = "服务mem使用")
    private int svcMemUse;

    //服务mem总量
    @ApiModelProperty(value = "服务mem使用")
    private int svcMemLimit;

    /**
     * get
     *
     * @return SvcName
     */
    public String getSvcName() {
        return svcName;
    }

    /**
     * set
     *
     * @param svcName svcName
     */
    public void setSvcName(String svcName) {
        this.svcName = svcName;
    }

    /**
     * get
     *
     * @return SvcCpuUse
     */
    public double getSvcCpuUse() {
        return svcCpuUse;
    }

    /**
     * set
     *
     * @param svcCpuUse svcCpuUse
     */
    public void setSvcCpuUse(double svcCpuUse) {
        this.svcCpuUse = svcCpuUse;
    }

    /**
     * get
     *
     * @return SvcCpuLimit
     */
    public double getSvcCpuLimit() {
        return svcCpuLimit;
    }

    /**
     * set
     *
     * @param svcCpuLimit svcCpuLimit
     */
    public void setSvcCpuLimit(double svcCpuLimit) {
        this.svcCpuLimit = svcCpuLimit;
    }

    /**
     * get
     *
     * @return SvcMemUse
     */
    public int getSvcMemUse() {
        return svcMemUse;
    }

    /**
     * set
     *
     * @param svcMemUse svcMemUse
     */
    public void setSvcMemUse(int svcMemUse) {
        this.svcMemUse = svcMemUse;
    }

    /**
     * get
     *
     * @return SvcMemLimit
     */
    public int getSvcMemLimit() {
        return svcMemLimit;
    }

    /**
     * set
     *
     * @param svcMemLimit svcMemLimit
     */
    public void setSvcMemLimit(int svcMemLimit) {
        this.svcMemLimit = svcMemLimit;
    }
}
